package com.jinhua.huaojbackendserviceclient.service;


import com.jinhua.huaojbackendmodel.model.entity.QuestionSubmit;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * 判题服务
 */
@FeignClient(name = "huaoj-backend-judge-service", path = "/huaoj/judge/inner")
public interface JudgeFeignClient {
    @PostMapping("/do")
    QuestionSubmit submit(long questionSubmitId);
}
